<script setup lang="ts">
import type { DragRule } from '@/views/operation/decoration/pc/models/types'

const props = defineProps<{
  res: DragRule
}>()
</script>

<template>
  <div flex-j-c flex flex-a-c color-gray-300
    :style="{ height: `${props!.res!.data!.height}px`, backgroundColor: props!.res!.data!.background }" />
</template>

<style scoped></style>
